package com.sgx.learning.luban.homework.attributes.ext;

import com.sgx.learning.luban.homework.basictype.U2;
import lombok.Data;

import java.io.IOException;
import java.io.InputStream;

@Data
public class LineNumber {
    private short startPc;
    private short lineNumber;

    public void read(InputStream is) throws IOException {
        this.startPc = U2.read(is).getValue();
        this.lineNumber = U2.read(is).getValue();
    }
}
